4D Chart v13

CT SET FILL ATTRIBUTES

Home

 
4D Chart v13
CT SET FILL ATTRIBUTES

CT SET FILL ATTRIBUTES 


 

CT SET FILL ATTRIBUTES ( area ; scope ; pattern ; color ) 
Parameter Type   Description
area  Longint in 4D Chart area
scope  Longint in Scope of the command -2 = Default -1 = All 0 = Selected objects >0 = Object ID
pattern  Integer in Pattern (0 to 36) -1 = No change
color  Longint in Color value -1 = No change

The CT SET FILL ATTRIBUTES command changes the fill attributes for the object(s) in area described by scope. Fill attributes are determined by the interiors of objects.

pattern is the number of the pattern in the palette. The following are the codes for the pattern parameter:

color is a long integer that specifies the color of the object. You can specify a value for the color parameter by using the CT Index to color or the CT RGB to color functions.

Note: Use this command to set the attributes of objects added to the document using the drawing tools or the drawing functions in this theme. To get the attributes of chart objects, such as series columns, use the commands in the Chart theme.

Example  

This example sets the selected object's fill attributes to solid yellow.

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14573

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1

 
SEE ALSO 

CT GET FILL ATTRIBUTES
CT SET CHART FILL ATTRIBUTES
CT SET FILLS ATTRIBUTES